package com.xzx.shop_front_api.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.xzx.shop_front_api.entity.Messages;
import com.xzx.shop_front_api.entity.SearchHistory;
import com.xzx.shop_front_api.mapper.MessageMapper;
import com.xzx.shop_front_api.mapper.SearchHistoryMapper;
import com.xzx.shop_front_api.service.MessageService;
import com.xzx.shop_front_api.service.SearchHistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MessageServiceImpl implements MessageService {
    @Autowired
    private MessageMapper messageMapper;
    @Override
    public int insertMessage(Messages messages) {
        return messageMapper.insert(messages);
    }
}
